package com.lkx.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lkx.dao.ApiParamsMapper;
import com.lkx.domain.ApiParams;
import com.lkx.service.ApiParamsService;

@Service
public class ApiParamsServiceImpl implements ApiParamsService {

    @Autowired
    private ApiParamsMapper apiParamsMapper;

    @Override
    public int batchInsert(List<ApiParams> list) {
        return 0;
    }

    @Override
    public List<ApiParams> selectByApiId(Long apiId) {
        return apiParamsMapper.selectByApiId(apiId);
    }

    @Override
    public int deleteByApiId(Long apiId) {
        return apiParamsMapper.deleteByApiId(apiId);
    }

}
